package com.cn.wanxi.service.impl;

import com.cn.wanxi.dao.ICompanyDao;
import com.cn.wanxi.dao.impl.CompanyDaoImpl;
import com.cn.wanxi.model.CompanyModel;
import com.cn.wanxi.service.ICompanyService;

public class CompanyServiceImpl implements ICompanyService {
    ICompanyDao companyDao = new CompanyDaoImpl();
    @Override
    public CompanyModel getCompany() {
        return companyDao.getCompany();
    }

    @Override
    public int editCompany(CompanyModel company) {
        return companyDao.editCompany(company);
    }
}
